<template>
  <view>
    <web-view :src="src"> </web-view>
    <!-- <web-view :src="info.src"> </web-view> -->
  </view>
</template>

<script>
export default {
  name: 'goVaPage',
  components: {},
  props: {},
  data() {
    return {
      // info: {},
      src: '',
    }
  },
  // 页面周期函数--监听页面加载
  onLoad(options) {
    // 混合分享信息
    this.src = options.info
    this.shareMixin.title = `详情页`
    this.shareMixin.path = `/pages/goVaPage`
    this.shareMixin.query = `info=${options.info}`
    // this.info = JSON.parse(
    //   decodeURIComponent(options.info ? options.info : '{}')
    // )
    // wx.setNavigationBarTitle({
    //   title: `${this.info.title ? this.info.title : '详情页'}`,
    // })
  },
}
</script>

<style scoped></style>
